package cn.broadmax.boot.modules.sys.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 */
@Data
@ApiModel(value="登录对象", description="登录对象")
public class SysLoginModel {

	@ApiModelProperty(value = "账号")
    @NotBlank(message = "账号不能为空")
    private String username;

	@ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

}